package com.ygxsk.carhome.response;

import java.math.BigDecimal;

/**
 * Created by zyl on 2018/4/17
 */
public class CouponCustomerVo extends CouponCustomer {
    private String couponInfo;
    private String companyName;
    private String phone;
    private String trueName;
    private String communityName;
    private String buildingName;
    private String houseNo;
    private String userName;

    //private Integer isMakeUpBill;//是否可以凑单--0:否；1：是

    private BigDecimal differenceAmount;//差多少钱可用
    //    private String differenceInfo;//差多少钱可用说明
    private String couponTypeInfo;//优惠券类型说明
    private String couponLowAmountInfo;//消费下限（满多少可用）
    private Integer isSelect = 0;//是否选中0：否；1：是

    private Integer useRange;//应用范围

    //核销人的信息
    private String managerName;

    //是否可以审核（权限）1是0否
    private int isExamine;

    //优惠券礼包的id,是新增的2024-1-2 16:37:36
    //couponPackId  发放优惠券记录 增加了 礼包ID，  礼包ID >0 是属于礼包里发放的  ， 选择批量审核的批量  请求这个接口，返回 该礼包下的 待审核的优惠券  来批量审核礼包优惠券
    private int couponPackId;

    //优惠券的类型，是正常的优惠券，还是优惠券大礼包
    private int packType;

    //发送优惠券的原因
    private String explain;

    //核销时间 2024年2月18日11:30:27 新增的字段
    private String managerTime;

    //2024年2月18日11:30:27 优惠金额
    private BigDecimal couponAmount;

    //这是优惠券礼包的主键id，为了查询大礼包的详情
    private int packCustomerId;

    public int getPackCustomerId() {
        return packCustomerId;
    }

    public void setPackCustomerId(int packCustomerId) {
        this.packCustomerId = packCustomerId;
    }

    public int getPackType() {
        return packType;
    }

    public void setPackType(int packType) {
        this.packType = packType;
    }

    @Override
    public BigDecimal getCouponAmount() {
        return couponAmount;
    }

    @Override
    public void setCouponAmount(BigDecimal couponAmount) {
        this.couponAmount = couponAmount;
    }

    public String getManagerTime() {
        return managerTime;
    }

    public void setManagerTime(String managerTime) {
        this.managerTime = managerTime;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public int getCouponPackId() {
        return couponPackId;
    }

    public void setCouponPackId(int couponPackId) {
        this.couponPackId = couponPackId;
    }

    public void setDifferenceAmount(BigDecimal differenceAmount) {
        this.differenceAmount = differenceAmount;
    }

    public int getIsExamine() {
        return isExamine;
    }

    public void setIsExamine(int isExamine) {
        this.isExamine = isExamine;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public Integer getUseRange() {
        return useRange;
    }

    public void setUseRange(Integer useRange) {
        this.useRange = useRange;
    }

    public Integer getIsSelect() {
        return isSelect;
    }

    public void setIsSelect(Integer isSelect) {
        this.isSelect = isSelect;
    }

//    public Integer getIsMakeUpBill() {
//        return isMakeUpBill;
//    }

//    public void setIsMakeUpBill(Integer isMakeUpBill) {
//        this.isMakeUpBill = isMakeUpBill;
//        if(Utils.objectIsNotEmpty(isMakeUpBill)){
//            if(isMakeUpBill.equals(0)){
//                SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//                String timeStr=sdf.format(super.getBeginTime());
//                differenceInfo="此券在"+timeStr+"后可使用";
//            }
//        }
//    }

    public BigDecimal getDifferenceAmount() {
        return differenceAmount;
    }

//    public void setDifferenceAmount(BigDecimal differenceAmount) {
//        this.differenceAmount = differenceAmount;
//        if(Utils.objectIsNotEmpty(differenceAmount)){
//            differenceInfo="差"+differenceAmount+"元可用该券";
//        }
//    }

//    public String getDifferenceInfo() {
//        return differenceInfo;
//    }

//    public void setDifferenceInfo(String differenceInfo) {
//        this.differenceInfo = differenceInfo;
//    }

    public String getCouponTypeInfo() {
        return couponTypeInfo;
    }

    public void setCouponTypeInfo(String couponTypeInfo) {
        this.couponTypeInfo = couponTypeInfo;
    }

    public String getCouponLowAmountInfo() {
        return couponLowAmountInfo;
    }

    public void setCouponLowAmountInfo(String couponLowAmountInfo) {
        this.couponLowAmountInfo = couponLowAmountInfo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCouponInfo() {
        return couponInfo;
    }

    public void setCouponInfo(String couponInfo) {
        this.couponInfo = couponInfo;
    }
}
